package nl.boelen.game.handler;

import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import nl.boelen.game.options.Option;

public class MouseHandler extends MouseAdapter {
    private int mouseX;
    private int mouseY;

    public MouseHandler() {
    }

    @Override
    public void mouseMoved(MouseEvent e) {
        mouseX = e.getX() / Option.ClientSCALE;
        mouseY = e.getY() / Option.ClientSCALE;
    }

    public int getMouseX() {
        return mouseX;
    }

    public int getMouseY() {
        return mouseY;
    }
}
